import request from '/@/utils/request';
import {versions} from '/@/api/versions'

// 查询列表
export function listSysUserOnline(query: object) {
    return request({
        url: `${versions}/system/online/list`,
        method: 'get',
        params: query
    })
}

export function forceLogout(ids: number[]) {
    return request({
        url: `${versions}/system/online/forceLogout`,
        method: 'delete',
        data: {ids}
    })
}
